package org.jeecg.modules.business.qyxx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelVerify;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 企业信息表
 * @Author: jeecg-boot
 * @Date:   2023-04-02
 * @Version: V1.0
 */
@Data
@TableName("bu_gsfwpt_qyxx")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_gsfwpt_qyxx对象", description="企业信息表")
public class BuGsfwptQyxx implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**是否删除*/
	/*@Excel(name = "是否删除", width = 15)*/
    @ApiModelProperty(value = "是否删除")
    private String delFlag;
	/**代征主体*/
	@Excel(name = "代征主体", width = 15)
    @ApiModelProperty(value = "代征主体")
    @ExcelVerify(notNull = true)
    private String dzzt;
	/**企业名称*/
	@Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
    @ExcelVerify(notNull = true)
    private String qymc;
	/**法定代表人*/
	@Excel(name = "法定代表人", width = 15)
    @ApiModelProperty(value = "法定代表人")
    @ExcelVerify(notNull = true)
    private String fddbr;
	/**所属销售*/
	@Excel(name = "所属销售", width = 15, dictTable = "bu_gsfwpt_xsgl", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bu_gsfwpt_xsgl", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所属销售")
    @ExcelVerify(notNull = true)
    private String ssxs;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private String lxr;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String lxdh;
	/**销售签约费率*/
	@Excel(name = "销售签约费率", width = 15)
    @ApiModelProperty(value = "销售签约费率")
    private String xsqyfl;
	/**企业签约费率*/
	@Excel(name = "企业签约费率", width = 15)
    @ApiModelProperty(value = "企业签约费率")
    private String qyqyfl;
	/**扣款方式*/
	@Excel(name = "扣款方式", width = 15, dicCode = "kk_type")
	@Dict(dicCode = "kk_type")
    @ApiModelProperty(value = "扣款方式")
    private String kkfs;
	/**开票电话*/
	@Excel(name = "开票电话", width = 15)
    @ApiModelProperty(value = "开票电话")
    private String kpdh;
	/**所属省*/
	@Excel(name = "所属省", width = 15)
    @ApiModelProperty(value = "所属省")
    @ExcelVerify(notNull = true)
    private String sss;
    /**所属市*/
    @Excel(name = "所属市", width = 15)
    @ApiModelProperty(value = "所属市")
    private String ssss;
	/**开票地址*/
	@Excel(name = "开票地址", width = 15)
    @ApiModelProperty(value = "开票地址")
    private String kpdz;
	/**开票类目*/
	@Excel(name = "开票类目", width = 15)
    @ApiModelProperty(value = "开票类目")
    private String kplm;
	/**签约时间*/
	@Excel(name = "签约时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "签约时间")
    private Date qysj;
	/**合同是否归档*/
	@Excel(name = "合同是否归档", width = 15, dicCode = "ht_sfgd")
	@Dict(dicCode = "ht_sfgd")
    @ApiModelProperty(value = "合同是否归档")
    private String htsfgd;
	/**合同是否到期*/
	@Excel(name = "合同是否到期", width = 15, dicCode = "ht_sfdq")
	@Dict(dicCode = "ht_sfdq")
    @ApiModelProperty(value = "合同是否到期")
    private String htsfdq;
	/**邮箱号*/
	@Excel(name = "邮箱号", width = 15)
    @ApiModelProperty(value = "邮箱号")
    private String yxh;
	/**邮寄地址*/
	@Excel(name = "邮寄地址", width = 15)
    @ApiModelProperty(value = "邮寄地址")
    private String yjdz;
    /**业务类型*/
    @Excel(name = "业务类型", width = 15, dicCode = "bu_jygl_wslx")
    @Dict(dicCode = "bu_jygl_wslx")
    @ApiModelProperty(value = "业务类型")
    @ExcelVerify(notNull = true)
    private String wslx;
}
